package com.yu.mall.mapper;

import com.yu.mall.entity.PostSales;
import com.yu.mall.entity.PostSalesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PostSalesMapper {
    long countByExample(PostSalesExample example);

    int deleteByExample(PostSalesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PostSales record);

    int insertSelective(PostSales record);

    List<PostSales> selectByExample(PostSalesExample example);

    PostSales selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PostSales record, @Param("example") PostSalesExample example);

    int updateByExample(@Param("record") PostSales record, @Param("example") PostSalesExample example);

    int updateByPrimaryKeySelective(PostSales record);

    int updateByPrimaryKey(PostSales record);
}